package com.dhcy.mqtt.result.ht;

import lombok.Data;
import io.swagger.annotations.ApiModelProperty;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;


@Data
public class UserResult {
   @ApiModelProperty(value="",dataType = "Integer ",example = "")
   private Integer id;
   @ApiModelProperty(value="",dataType = "String ",example = "")
   private String openid;
   @ApiModelProperty(value="",dataType = "String ",example = "")
   private String nickname;
   @ApiModelProperty(value="用户的性别，值为1时是男性，值为2时是女性，值为0时是未知",dataType = "Integer ",example = "")
   private Integer sex;
   @ApiModelProperty(value="",dataType = "String ",example = "")
   private String province;
   @ApiModelProperty(value="",dataType = "String ",example = "")
   private String city;
   @ApiModelProperty(value="",dataType = "String ",example = "")
   private String country;
   @ApiModelProperty(value="用户头像",dataType = "String ",example = "")
   private String headimgurl;
   @ApiModelProperty(value="",dataType = "String ",example = "")
   private String privilege;
   @ApiModelProperty(value="",dataType = "String ",example = "")
   private String unionid;
   @ApiModelProperty(value="",dataType = "Date ",example = "")
   @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
   private Date createTime;
   @ApiModelProperty(value="最后的登录时间",dataType = "Date ",example = "")
   @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
   private Date loginTime;
   @ApiModelProperty(value="",dataType = "String ",example = "")
   private String username;
   @ApiModelProperty(value="地址",dataType = "String ",example = "")
   private String address;
   @ApiModelProperty(value="房间大小",dataType = "Integer ",example = "")
   private Integer homeSize;
   @ApiModelProperty(value="",dataType = "String ",example = "")
   private String tel;
   @ApiModelProperty(value="",dataType = "Double ",example = "")
   private Double jifen;
   @ApiModelProperty(value="",dataType = "Double ",example = "")
   private Double yongjin;
   @ApiModelProperty(value="",dataType = "Integer ",example = "")
   private Integer regId;
   @ApiModelProperty(value="",dataType = "Double ",example = "")
   private Double txAmount;

}
